﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippet Format="1.0.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <Header>
    <Title>OrzDevWaitDialogFormAsync</Title>
    <Author>jinlei</Author>
    <Shortcut>OrzDevWaitDialogFormAsync</Shortcut>
    <Description>OrzDevWaitDialogFormAsync</Description>
    <SnippetTypes>
      <SnippetType>SurroundsWith</SnippetType>
      <SnippetType>Expansion</SnippetType>
    </SnippetTypes>
  </Header>
  <Snippet>
    <Declarations>
      <Literal>
        <ID>OrzDevWaitDialogFormAsync</ID>
        <Default>OrzDevWaitDialogFormAsync</Default>
      </Literal>
    </Declarations>
    <Code Language="CSharp">
      <![CDATA[using (OrzDevWaitDialogFormAsync wait = new OrzDevWaitDialogFormAsync("我已经使出洪荒之力了！！！", "正在执行,请稍后..."))
            {
                wait.DoWorkAsync(() =>
                {
                    #region DoWork

                    #endregion
                });
            }]]>
    </Code>
  </Snippet>
</CodeSnippet>